<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
        }

        .news {
            width: 240px;
            padding: 10px;
            margin: 20px auto;
            border: #009900 solid 1px;
            background-image: url(./images/bg.gif);
            /* background-repeat: no-repeat; */
            /* background-position: center center; */
        }

        .news h1 {
            font-family: 黑体;
            color: #FFF;
            font-size: 20px;
            border-left: #c9e143 solid 4px;
            padding-left: 5px;
        }
        .news ul{
            list-style: none;
            background-color: #fff;
            margin-top: 5px;
            padding: 0 10px;
        }
        .news ul li{
            border-bottom: #666 dashed 1px;
            text-indent: 1em;
        }

        .news li a{
            text-decoration: none;
            color: #06c;
            font-size: 12px;
            line-height: 30px;
        }
        .news li a:hover{
            text-decoration: underline;
            color: #f00;
        }
    </style>
</head>

<body>
    <div class="news">
        <h1>爱宠知识</h1>
        <ul>
            <li><a href="#">养狗比养猫对健康更有利</a></li>
            <li><a href="#">日本正宗柴犬亮相，你怎么看柴犬</a></li>
            <li><a href="#">狗狗歌曲《新年旺旺》</a></li>
            <li><a href="#">带宠兜风，开车带宠需要注意什么？</a></li>
            <li><a href="#">【爆笑】这狗狗太不给力了</a></li>
            <li><a href="#">狗狗与男童相同着装拍有爱造型照</a></li>
            <li><a href="#">狗狗各个阶段健康大事件</a></li>
            <li><a href="#">调皮宠物狗陷在沙发里的搞笑瞬间</a></li>
            <li><a href="#">为什么每次大小便后，会用脚踢土？</a></li>
        </ul>
    </div>
</body>

</html>